package com.atguigu.edu.publisher.service;


import com.atguigu.edu.publisher.beans.TradeSubjectOrderAmount;

import java.math.BigDecimal;
import java.util.List;

/**
 * 交易域统计Server接口
 */
public interface TradeStatsService {
    //获取某天总交易额
    BigDecimal getGMV(Integer date);
   //获取某天各科目下单总金额 取前10名
    List<TradeSubjectOrderAmount>getSubjectAmount(Integer date, Integer limit);
}
